<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#x00A0;"> ]>
<xsl:stylesheet 
	version="1.0" 
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:msxml="urn:schemas-microsoft-com:xslt"
	xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets" xmlns:Utils="urn:Utils" 
	exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets Utils ">


<xsl:output method="xml" omit-xml-declaration="yes"/>

<xsl:param name="currentPage"/>

<xsl:template match="/">

<!-- start writing XSLT -->


  <section id="content">
    <div class="container_12">
      <div class="wrapper">
        <article class="grid_12">
          <h2 class="border1">
            <xsl:value-of select="$currentPage/listTitle"/>
          </h2>
        </article>
        <article class="grid_12">
          
          <xsl:for-each select="$currentPage/child::NewsPage">
        <article class="grid_5" style="height:150px;">
                  <div class="inner1">
                    <time datetime="">
                      <xsl:value-of select="umbraco.library:FormatDateTime(contentDay, 'dd')"/>
                      <span>
                        <xsl:value-of select="umbraco.library:FormatDateTime(contentDay, 'MMM')"/>
                      </span>
                    </time>
                  </div>


                  <div class="page1-box3">
                    <div class="extra-wrap">
                      <xsl:if test="contentThumbnail !=''">
                        <figure class="page2-img3">
                          <img src="{Utils:GetImageUrl(contentThumbnail)}" class="mn_quemSomos_membros_foto" alt="" />
                        </figure>
                      </xsl:if>

                      <div class="extra-wrap">
                        <a class="link2" href="{umbraco.library:NiceUrl(@id)}">
                          <xsl:value-of select="contentTitle"/>
                        </a>
                        <p>

                          <xsl:value-of select ="contentSummary" disable-output-escaping="yes"></xsl:value-of>
                        </p>

                      </div>
                    </div>


                  </div>
                  

                </article>
           
       
          </xsl:for-each>
        </article>
      </div>
    </div>
  </section>
  
  

</xsl:template>

</xsl:stylesheet>